from selenium.webdriver.common.by import By

from page_objects.base_page import BasePage


class CommonPage(BasePage):
    recommend_link_loc = (By.LINK_TEXT, "推荐")

    def goto_recommend_page(self):
        self.click(*self.recommend_link_loc)
